body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4,h5, h6, i, b, textarea, button, input, select, figure, figcaption{
    padding: 0;
    margin: 0;
    list-style: none;
    font-style: normal;
    text-decoration: none;
    border: none;
    font-weight: normal;
    font-family: "Microsoft Yahei";
    box-sizing: border-box;
    -webkit-tap-highlight-color:transparent;
    -webkit-font-smoothing: antialiased;
    &:hover{
        outline: none;
    }
}

input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] {
    -webkit-appearance: none;
}
button {
	outline:none!important;
}

textarea { -webkit-appearance: none;}   

html,body{
	font-size: 14px;
    height: 100%;
	width: 100%;
	min-width: 1200px;
    background-color: #F5F5F5;
    color: #333;
}

.clear:after{
    content: '';
    display: block;
    clear: both;
}

.clear{
    zoom:1;
}

.back_img{
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.margin{
    margin: 0 auto;
}

.left{
    float: left;
}

.right{
    float: right;
}

.hide{
    display: none;
}

.show{
    display: block;
}

.ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.paddingTop{
    padding-top: 20px;
}

@keyframes backOpacity{
   0%   { opacity: 1 }
   25%  { opacity: .5 }
   50%  { opacity: 1 }
   75%  { opacity: .5 }
   100% { opacity: 1 }
}

.animation_opactiy{
    animation: backOpacity 2s ease-in-out infinite;
}

a {
	cursor: pointer;
	color: #333;
	text-decoration: none;
	-webkit-transition: background-color .3s,color .3s;
	-o-transition: background-color .3s,color .3s;
	transition: background-color .3s,color .3s;
}
a:hover {
	color: #f86254;
}

img {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
}

/**
* 页面样式
*/

.h3-component {
	border-bottom: 1px solid #f86254;
	margin-bottom: 20px;
	.h3 {
		display: inline-block;
		font-weight:normal;
		font-size: 18px;
		line-height: 18px;
		color:#f86254;
		padding:10px 45px 10px 0;
		background: url(./assets/img/icon-h3.png) center right no-repeat;
		border-bottom: 3px solid #f86254;
	}
}
.main {
	width: 1200px;
	margin: 20px auto 0 auto;
	// margin: 20px auto;
}

.video-card-box {
	.video-card {
		float: left;
		position: relative;
		margin-right: 20px;
		margin-bottom: 20px;
		width: 285px;
		overflow: hidden;
		.video-card-width{
			position: relative;
			width: 100%;
			height: 0;
			padding-bottom: 56.25%;
		}
		.video-img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			overflow: hidden;
			transition: all .2s linear;
			-webkit-transition: all .2s linear;
		}
		.video-info {
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 100px;
			.video-info-bg {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				background: url(./assets/img/index.png) bottom repeat-x;
				background-size: contain;
				z-index: 0;
			}
			.video-info-zindex {
				position: absolute;
				top: 50px;
				left: 0;
				z-index: 1;
				width: 100%;
				height: 50px;
				padding: 0 6px;
			}
			.video-title {
				color:#F8F8FF;
				line-height: 25px;
				height: 25px;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
			.video-from {
				.minutes {
					color:#F8F8FF; 
					height: 16px;
					font-size: 12px;
					line-height: 16px;
					vertical-align: middle;
					padding-left: 3px;
				}
			}
		}
		.video-click {
			position: absolute;
			right: 6px;
			bottom: 6px;
			z-index: 3;
			font-size: 12px;
			.icon-bg {
				color: #F8F8FF;
			}
		}
	}
	.video-card:nth-child(3n){
		margin-right: 0;
	}
	.video-card-width:hover {
		.video-img {
			-webkit-transform: scale(1.05);
			transform: scale(1.05);
		}
		// .video-info {
		// 	bottom: 0;
		// }
		// .video-click {
		// 	bottom: 6px;
		// }
	}
}

.icon-bg {
	padding-left: 20px;
	background-image: url(./assets/img/icon.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 16px auto;
	display: inline-block;
	width: 50px;
	line-height: 16px;
}
.icon-store-o {
	cursor: pointer;
	background-position: 0 -32px;
}
.icon-store,.icon-store-o:hover{
	cursor: pointer;
	background-position: 0 -48px;
}
.icon-good-o{
	cursor: pointer;
	background-position: 0 0;
}
.icon-good,.icon-good-o:hover {
	cursor: pointer;
	background-position: 0 -16px;
}

.icon-from {
	display: inline-block;
	vertical-align: middle;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 16 auto;
	background-image: url(./assets/img/icon-from.png);
}
.icon-from-1{
	background-position: 0 0;
}
.icon-from-2{
	background-position: 0 -16px;
}
.icon-from-3{
	background-position: 0 -32px;
}
.icon-from-4{
	background-position: 0 -48px;
}
.icon-from-5{
	background-position: 0 -64px;
}
.icon-from-6{
	background-position: 0 -80px;
}
.icon-from-7{
	background-position: 0 -96px;
}
.icon-from-8{
	background-position: 0 -112px;
}
.icon-from-9{
	background-position: 0 -128px;
}
.icon-from-10{
	background-position: 0 -144px;
}
.icon-from-11{
	background-position: 0 -160px;
}
.icon-from-12{
	background-position: 0 -176px;
}
.icon-from-13{
	background-position: 0 -192px;
}

.icon-followed{
	display: inline-block;
	vertical-align: middle;
	width: 16px; 
	height: 16px;
	background-image: url(./assets/img/icon.png);
	background-repeat: no-repeat;
	background-position: 0 -160px;
	background-size: 16px auto;
}

.no-data {
	height: 60px;
	line-height: 50px;
	text-align: center;
}

.loading-more {
	height: 70px;
	padding-top: 10px;
	text-align: center;
	color: #999;
	.btn {
		cursor: pointer;
		padding: 5px 40px;
		border: 1px solid #666;
		color:#666;
		border-radius: 2px;
	}
}

.subject-card {
	width: 285px;
	height: 200px;
	background: #fff;
	.video-card-width{
		position: relative;
		width: 100%;
		height: 0;
		padding-bottom: 56.25%;
		overflow: hidden;
	}
	
	.subject-img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		overflow: hidden;
		transition: all .2s linear;
		-webkit-transition: all .2s linear;
	}
	.subject-title {
		font-size: 16px;
		text-align: center;
		height: 40px;
		line-height: 40px;
		font-weight: 700;
	}
	
}

.subject-card:hover {
	.subject-img {
		-webkit-transform: scale(1.05);
		transform: scale(1.05);
	}
}

.btn-follow {
	cursor: pointer;
	display: inline-block;
	vertical-align: middle;
	width: 50px;
	text-align: center;
	height: 25px;
	line-height: 23px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 12px;
}
.btn-follow:hover {
	background: #f86254;
	color:#fff;
	border-color:#f86254;
}
.followed {
	font-size: 12px;
	height: 25px;
	line-height: 25px;
	display: inline-block;
	.icon-followed {
		margin-right: 4px;
		margin-top: -4px;
	}
}
// 轮播图
.el-carousel__arrow{
	background: #fa7e73!important;
	// width: 16px;
	i { 
		color:#fff!important;
	}
}
.el-carousel__arrow:hover{
	background: #f86254!important;
}
.el-carousel__arrow--left {
	// left: 0;
	// border-radius: 0 8px 8px 0;
}
.el-carousel__arrow--right {
	// right: 0;
	// border-radius: 8px 0 0 8px;
}
.el-carousel__indicators--outside button{
	background:#f86254!important;
}